﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using NLite;

namespace Server.Domain
{
    [Component]
    public class CalculateService
    {
        public int Add(int a, int b)
        {
            return a + b;
        }
        public int Sub(int a, int b)
        {
            return a - b;
        }
        public int Multiply(int a, int b)
        {
            return a * b;
        }
        public int Divide(int a, int b)
        {
            return a / b;
        }
    }
}